package com.dmwork.service.interaction.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;

import com.dmwork.service.base.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author 李天
 * @since 2021-03-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("dm_work_collect_group")
@ApiModel(value = "WorkCollectGroup对象", description = "")
public class WorkCollectGroup extends BaseEntity {

    public static final String DEFAULT_GROUP = "000";
    public static final String FAVOURITE_GROUP = "111";
    public static final int PUBLIC = 1;
    public static final int PRIVATE = 0;

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "收藏分组名称")
    private String name;

    @ApiModelProperty(value = "收藏创建者id")
    private String customerId;

    @ApiModelProperty(value = "收藏分组公开状态")
    private Integer publicStatus;

    @ApiModelProperty(value = "是否删除（0为未删除，1为已删除）")
    @TableField("is_deleted")
    @TableLogic
    private Integer deleted;

}
